package com.genius.smsweb.coursemanage;

import com.genius.smsbase.Controller.GenericController;
import com.genius.smsdao.coursemanage.domain.CourseKind;
import com.genius.smsservice.coursemanage.service.CourseKindManager;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "课程管理-课程种类", description = "CourseKindController")
@RestController//返回json格式的数据
@RequestMapping(value = "courseKind")
public class CourseKindController extends GenericController<CourseKind,Long, CourseKindManager> {

    CourseKindManager courseKindManager;

    @Autowired//注入了业务层接口
    public void setCourseKindManager(CourseKindManager courseKindManager) {
        this.courseKindManager = courseKindManager;
        this.manager = this.courseKindManager;
		//by  gpf
    }
}
